header{
    width: 100%;
    position: fixed;
    background-color: #ffc107;
    z-index: 1;
    .search{
        height: 50px;
        line-height: 50px;
        i{
            top:-6px;
            left: 8px;
        }
        .search-box{
            width: 170px;
            height: 35px;
            border-radius: 17px;
            text-indent: 25px;
            outline: none;
            border: none;
        }
    }
    .navigation{
        height: 40px;
        line-height: 40px;
        .active{
            color: white;
            font-size: 25px;
        }
    }
}

.carousel {
    position: relative;
    margin: 0 auto; /* 水平居中 */
    overflow: hidden; /* 隐藏超出部分 */
}
.swiper {
    display: flex;
    transition: transform 0.5s ease;
    padding: 10px 15px;
}
.swiper-image {
    display: none;
    width: 100%;
}
.swiper-image:first-child {
    display: block;
}
.swiper-dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.swiper-dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.swiper-dot.active {
    background-color: #717171;
}


main{
    p{
        font-family: "楷体";
        font-weight: bolder;
        font-size: 22px;
    }
}
.new-book{
    p{
        margin: 10px 0;
        padding:0 10px;
    }
    .link{
        padding: 10px;
        img{
            width: 110px;
            height: 130px;
        }
        span{
            margin-top: 8px;
        }
    }
}
.best{
    p{
        margin: 10px 0;
        padding:0 10px;
    }
    .link{
        padding: 10px;
        img{
            width: 110px;
            height: 130px;
        }
        span{
            margin-top: 8px;
        }
    }
}
.author{
    .more{
        margin: 10px 0;
        padding:0 10px;
    }
    .link{
        padding: 10px;
        img{
            width: 110px;
            height: 110px;
        }
        span{
            margin-top: 8px;
        }
    }
}
.award{
    .more{
        margin: 10px 0;
        padding:0 10px;
    }
    .link{
        padding: 10px;
        img{
            width: 110px;
            height: 110px;
        }
        span{
            margin-top: 8px;
        }
    }
}
.like{
    .link{
        padding: 10px;
        img{
            width: 110px;
            height: 130px;
        }
        span{
            margin-top: 8px;
            font-size: 14px;
        }
    }
}